package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Category;
import com.itheima.entity.Employee;
import com.itheima.jsonresult.JsonResult;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linying
 * @since 2022-10-13
 */
public interface CategoryService extends IService<Category> {


    JsonResult add(Category category);

    JsonResult put(Category category);

    JsonResult delete(String id);

    JsonResult categoryList(Integer type);

    JsonResult getPage(String name, Integer page, Integer pageSize);

    JsonResult categoryListClient();
}
